package com.cuijq.idempotent.v2;

import java.util.UUID;

/**
 * @author by CuiJQ
 * @Classname IdempotenceIdGenerator
 * @Description IdempotenceIdGenerator Description
 * @Date 2021/6/1 11:53
 */
public class IdempotenceIdGenerator {

  /**
   * 幂等号生成
   * @return
   */
  public String generateId() { return UUID.randomUUID().toString(); }
}
